package com.tddx.activiti.business.index.controller;

public class Role {

	private Integer id;
	private String name;
	private String url;
	private Integer level;
	private Integer pid;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	@Override
	public String toString() {
		return "Role [id=" + id + ", name=" + name + ", url=" + url + ", level=" + level + ", pid=" + pid + "]";
	}

	public Role(Integer id, String name, String url, Integer level, Integer pid) {
		super();
		this.id = id;
		this.name = name;
		this.url = url;
		this.pid = pid;
	}

}
